home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 February / OpenLinux 2.3 CD.iso / live / lizard / XF86Config < prev    next >
Encoding:
Text File  |  1999-08-15  |  5.5 KB  |  228 lines

  1. # Copied from
  2. # $XFree86: xc/programs/Xserver/hw/xfree86/XF86Conf.cpp,v 3.29.2.2 1998/11/04 15:19:01 hohndel Exp $
  3. # and stripped down for the lizard
  4. #
  5. # Copyright (c) 1994 by The XFree86 Project, Inc.
  6. # and copyright (c) 1999 Caldera.
  7.  
  8. Section "Files"
  9.  
  10.     RgbPath    "./rgb"
  11.  
  12. # Multiple FontPath entries are allowed (which are concatenated together),
  13. # as well as specifying multiple comma-separated entries in one FontPath
  14. # command (or a combination of both methods)
  15.  
  16. FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
  17. FontPath    "/usr/X11R6/lib/X11/fonts/Type1/"
  18. FontPath    "/usr/X11R6/lib/X11/fonts/misc/"
  19.  
  20. EndSection
  21.  
  22. Section "ServerFlags"
  23.  
  24.     DontZap
  25.  
  26. # should the lizard allow switching to other VTs?
  27. #    DontZoom
  28.  
  29. DisableVidModeExtension
  30.  
  31. # lizard needs this:
  32. #    DisableModInDev
  33. AllowNonLocalModInDev
  34.  
  35. # lizard needs to start up without a mouse
  36. AllowMouseOpenFail
  37.  
  38. EndSection
  39.  
  40. # **********************************************************************
  41. # Input devices
  42. # **********************************************************************
  43.  
  44. # **********************************************************************
  45. # Keyboard section
  46. # **********************************************************************
  47.  
  48. Section "Keyboard"
  49.  
  50.     Protocol    "Standard"
  51.     XkbRules    "xfree86"
  52.     XkbModel    "pc101"
  53.     XkbLayout   "us"
  54.  
  55. # when using XQUEUE, comment out the above line, and uncomment the
  56. # following line
  57.  
  58. #    Protocol    "Xqueue"
  59.  
  60.     AutoRepeat    500 5
  61.  
  62. EndSection
  63.  
  64.  
  65. # **********************************************************************
  66. # Pointer section
  67. # **********************************************************************
  68.  
  69. Section "Pointer"
  70.  
  71.     Protocol    "PS/2"
  72.     ZAxisMapping 4 5
  73.     Device    "/tmp/lizard-mouse-link"
  74.  
  75. EndSection
  76.  
  77. # **********************************************************************
  78. # Monitor section
  79. # **********************************************************************
  80.  
  81. # Any number of monitor sections may be present
  82.  
  83. Section "Monitor"
  84.  
  85.     Identifier    "Generic Monitor"
  86.     VendorName    "Unknown"
  87.     ModelName    "Unknown"
  88.  
  89. # HorizSync is in kHz unless units are specified.
  90. # HorizSync may be a comma separated list of discrete values, or a
  91. # comma separated list of ranges of values.
  92. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
  93. # USER MANUAL FOR THE CORRECT NUMBERS.
  94.  
  95.     HorizSync   31.5  # typical for a single frequency fixed-sync monitor
  96.  
  97. #    HorizSync    30-64         # multisync
  98. #    HorizSync    31.5, 35.2    # multiple fixed sync frequencies
  99. #    HorizSync    15-25, 30-50  # multiple ranges of sync frequencies
  100.  
  101. # VertRefresh is in Hz unless units are specified.
  102. # VertRefresh may be a comma separated list of discrete values, or a
  103. # comma separated list of ranges of values.
  104. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
  105. # USER MANUAL FOR THE CORRECT NUMBERS.
  106.  
  107.     VertRefresh 60  # typical for a single frequency fixed-sync monitor
  108.  
  109. #    VertRefresh    50-100        # multisync
  110. #    VertRefresh    60, 65        # multiple fixed sync frequencies
  111. #    VertRefresh    40-50, 80-100 # multiple ranges of sync frequencies
  112.  
  113. # Modes can be specified in two formats.  A compact one-line format, or
  114. # a multi-line format.
  115.  
  116. # A generic VGA 640x480 mode (hsync = 31.5kHz, refresh = 60Hz)
  117. # These two are equivalent
  118.  
  119. #    ModeLine "640x480" 25.175 640 664 760 800 480 491 493 525
  120.  
  121.     Mode "640x480"
  122.         DotClock    25.175
  123.         HTimings    640 664 760 800
  124.         VTimings    480 491 493 525
  125.     EndMode
  126.  
  127. EndSection
  128.  
  129. # **********************************************************************
  130. # Graphics device section
  131. # **********************************************************************
  132.  
  133. # Any number of graphics device sections may be present
  134.  
  135. Section "Device"
  136.     Identifier    "Generic VGA"
  137.     VendorName    "Unknown"
  138.     BoardName    "Unknown"
  139.     Chipset    "generic"
  140. #    VideoRam    256
  141.     Clocks    25.175
  142. EndSection
  143.  
  144. Section "Device"
  145.     # SVGA server auto-detected chipset
  146.     Identifier    "Generic SVGA"
  147.     VendorName    "Unknown"
  148.     BoardName    "Unknown"
  149. EndSection
  150.  
  151. # **********************************************************************
  152. # Screen sections
  153. # **********************************************************************
  154.  
  155. # The 16-colour VGA server
  156.  
  157. Section "Screen"
  158.     Driver    "vga16"
  159.     Device    "Generic VGA"
  160.     Monitor    "Generic Monitor"
  161.     Subsection "Display"
  162.         Modes        "640x480"
  163.     EndSubsection
  164. EndSection
  165.  
  166. # The colour SVGA server
  167.  
  168. Section "Screen"
  169.     Driver    "svga"
  170.     Device    "Generic SVGA"
  171.     Monitor    "Generic Monitor"
  172.     Subsection "Display"
  173.         Depth        24
  174.         Modes        "640x480"
  175.     EndSubsection
  176.     Subsection "Display"
  177.         Depth        8
  178.         Modes        "640x480"
  179.     EndSubsection
  180.     Subsection "Display"
  181.         Depth        16
  182.         Modes        "640x480"
  183.     EndSubsection
  184. EndSection
  185.  
  186.  
  187. # The accellerated servers
  188.  
  189. Section "Screen"
  190.     Driver    "accel"
  191.     Device    "Generic SVGA"
  192.     Monitor    "Generic Monitor"
  193.     Subsection "Display"
  194.         Depth        24
  195.         Modes        "640x480"
  196.     EndSubsection
  197.     Subsection "Display"
  198.         Depth        8
  199.         Modes        "640x480"
  200.     EndSubsection
  201.     Subsection "Display"
  202.         Depth        16
  203.         Modes        "640x480"
  204.     EndSubsection
  205. EndSection
  206.  
  207.  
  208. # The framebuffer server
  209.  
  210. Section "Screen"
  211.     Driver    "fbdev"
  212.     Device    "Generic SVGA"
  213.     Monitor    "Generic Monitor"
  214.     Subsection "Display"
  215.         Depth        24
  216.         Modes        "640x480"
  217.     EndSubsection
  218.     Subsection "Display"
  219.         Depth        8
  220.         Modes        "640x480"
  221.     EndSubsection
  222.     Subsection "Display"
  223.         Depth        16
  224.         Modes        "640x480"
  225.     EndSubsection
  226. EndSection
  227.  
  228.